package cn.com.shbs.Service.ShopInfoService;

import java.util.HashMap;
import java.util.List;

import org.springframework.stereotype.Service;

import cn.com.shbs.model.BaseRole;
import cn.com.shbs.model.LoginUser;
import cn.com.shbs.model.Store;
import cn.com.shbs.model.StoreRole;

@Service
public interface IShopInfoService {
	
	//添加店铺信息
	public	void addshopinfo(Store store) throws Exception;

	//添加店铺
	public void addstroeinfos(Store store, LoginUser userInfo) throws Exception;

	//查询基本角色表
	public BaseRole findBaseRoleInfos() throws Exception;

	public List<BaseRole> findbaseRoles()throws Exception;
	
	//添加店面角色表
	public	void add_storerole(StoreRole stoerRole) throws Exception;

	//更新店铺信息
	public void UpdateShop(Store store)throws Exception;
	
	//模糊查询店铺信息
	//public List<Store> FindShopByName(Store store)throws Exception;
	public List<Store> FindShopByName(HashMap map)throws Exception;
	//查询条数
	public int FindShopByNameNums(Store store)throws Exception;
		

}
